<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>商品详细信息</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f5f5f5;
        }
        .navbar {
            background-color: #ff5000;
            color: white;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .navbar .logo {
            display: flex;
            align-items: center;
        }
        .navbar .logo span {
            margin-left: 10px;
        }
        .navbar a {
            color: white;
            text-decoration: none;
            margin: 0 10px;
        }
        .navbar button {
            background-color: white;
            color: #ff5000;
            border: none;
            padding: 5px 10px;
            margin-left: 10px;
            border-radius: 5px;
            cursor: pointer;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
        }
        .product-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .product-price {
            color: #ff5000;
            font-size: 28px;
            margin-bottom: 10px;
        }
        .product-img {
            width: 400px;
            height: 400px;
            background-color: #ddd;
        }
        .product-info {
            display: flex;
            margin-bottom: 20px;
        }
        .product-details {
            margin-left: 20px;
            flex-grow: 1;
        }
        .product-details p {
            margin: 5px 0;
        }
        .product-actions {
            display: flex;
            align-items: center;
        }
        .product-actions button {
            background-color: #ff5000;
            color: white;
            border: none;
            padding: 10px 20px;
            margin-right: 10px;
            cursor: pointer;
            border-radius: 5px;
        }
        .product-actions select {
            margin-right: 10px;
            padding: 5px;
        }
        .recommended-products {
            margin-top: 20px;
        }
        .recommended-products h3 {
            font-size: 20px;
            border-bottom: 2px solid #ff5000;
            padding-bottom: 5px;
        }
        .recommended-products .product-item {
            display: inline-block;
            width: 200px;
            margin-right: 20px;
            text-align: center;
            vertical-align: top;
        }
        .recommended-products .product-item img {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }
    </style>
</head>
<body>
<div class="navbar">
    <div class="logo">机械工业</div>
    <div class="nav-links">
        <a href="index1">首页</a>
        <a href="userMessage">我的</a>
        <a href="cart">购物车</a>
        <a href="#">收藏夹</a>
        <a href="#">客服中心</a>
    </div>
</div>

<div class="container">
    <div class="product-info">
        <div class="product-img">
            <img src="https://via.placeholder.com/400" alt="商品图片">
        </div>
        <div class="product-details">
            <div class="product-title">中联重科液压油200L</div>
            <div class="product-price">¥ 2828.00</div>

            <p>发货地: 北京市 配送方式: 到付 在线支付</p>
            <p>配送至: <select><option>山东省</option></select> 烟台市 <select><option>请选择</option></select></p>
            <div class="product-actions">
                <label>数量: <button>-</button> 1 <button>+</button> 库存: <span>有货</span></label>
                <select>
                    <option>全额支付</option>
                </select>
             </div>

                <button>立即购买</button>
                <button>加入购物车</button>
            </div>
        </div>
    </div>

</div>
</body>
</html>
